export const getProTable = async (params?: any) => {
  console.log('getProTable');
  let listDats: any = [
    {
      id: 81,
      avatar: 'http://dummyimage.com/100x100/8679f2',
      title: '起适常管',
      datetime: '1982-01-29 06:34:39',
      description: '起适常管',
      user_id: 17,
      status: 3,
      type: 2,
    },
    {
      id: 82,
      avatar: 'http://dummyimage.com/100x100/8ff279',
      title: '你转候多把风',
      datetime: '2001-04-26 16:56:19',
      description: '你转候多把风',
      user_id: 20,
      status: 2,
      type: 3,
    },
    {
      id: 83,
      avatar: 'http://dummyimage.com/100x100/f279b2',
      title: '如集天厂',
      datetime: '1971-01-26 14:55:56',
      description: '如集天厂',
      user_id: 18,
      status: 2,
      type: 3,
    },
    {
      id: 84,
      avatar: 'http://dummyimage.com/100x100/79d6f2',
      title: '处持意信非',
      datetime: '1977-08-24 22:37:32',
      description: '处持意信非',
      user_id: 7,
      status: 3,
      type: 3,
    },
    {
      id: 85,
      avatar: 'http://dummyimage.com/100x100/f2ea79',
      title: '命果型后近面',
      datetime: '2007-03-02 23:32:12',
      description: '命果型后近面',
      user_id: 7,
      status: 2,
      type: 1,
    },
    {
      id: 86,
      avatar: 'http://dummyimage.com/100x100/c779f2',
      title: '红说型线教',
      datetime: '2021-02-03 22:15:48',
      description: '红说型线教',
      user_id: 3,
      status: 2,
      type: 2,
    },
    {
      id: 87,
      avatar: 'http://dummyimage.com/100x100/79f2a4',
      title: '满较观干',
      datetime: '2001-06-08 09:32:28',
      description: '满较观干',
      user_id: 13,
      status: 1,
      type: 1,
    },
    {
      id: 88,
      avatar: 'http://dummyimage.com/100x100/f28079',
      title: '受千统传',
      datetime: '1983-01-22 15:30:30',
      description: '受千统传',
      user_id: 15,
      status: 1,
      type: 2,
    },
    {
      id: 89,
      avatar: 'http://dummyimage.com/100x100/7994f2',
      title: '员队图',
      datetime: '1987-02-03 07:04:11',
      description: '员队图',
      user_id: 13,
      status: 3,
      type: 2,
    },
    {
      id: 90,
      avatar: 'http://dummyimage.com/100x100/b8f279',
      title: '行铁形',
      datetime: '2018-01-29 13:11:07',
      description: '行铁形',
      user_id: 14,
      status: 1,
      type: 1,
    },
  ]
  if(params.page >1){
    listDats = [
      {
        id: 91,
        avatar: 'http://dummyimage.com/100x100/f279db',
        title: '料打厂值都',
        datetime: '1986-05-28 10:19:02',
        description: '料打厂值都',
        user_id: 1,
        status: 2,
        type: 2,
      },
      {
        id: 92,
        avatar: 'http://dummyimage.com/100x100/79f2e5',
        title: '易取报',
        datetime: '1971-05-18 09:52:57',
        description: '易取报',
        user_id: 18,
        status: 1,
        type: 1,
      },
      {
        id: 93,
        avatar: 'http://dummyimage.com/100x100/f2c279',
        title: '元想确位用',
        datetime: '1980-10-24 10:09:40',
        description: '元想确位用',
        user_id: 18,
        status: 2,
        type: 1,
      },
      {
        id: 94,
        avatar: 'http://dummyimage.com/100x100/9f79f2',
        title: '被织那全空单',
        datetime: '2012-10-26 10:18:13',
        description: '被织那全空单',
        user_id: 12,
        status: 2,
        type: 3,
      },
      {
        id: 95,
        avatar: 'http://dummyimage.com/100x100/79f27b',
        title: '织将收元层些',
        datetime: '2012-12-05 04:51:58',
        description: '织将收元层些',
        user_id: 5,
        status: 2,
        type: 3,
      },
      {
        id: 96,
        avatar: 'http://dummyimage.com/100x100/f27999',
        title: '至写更',
        datetime: '1976-07-26 15:29:08',
        description: '至写更',
        user_id: 4,
        status: 1,
        type: 2,
      },
      {
        id: 97,
        avatar: 'http://dummyimage.com/100x100/79bdf2',
        title: '龙名红制准',
        datetime: '1997-01-04 12:15:11',
        description: '龙名红制准',
        user_id: 3,
        status: 1,
        type: 2,
      },
      {
        id: 98,
        avatar: 'http://dummyimage.com/100x100/e0f279',
        title: '以革法众领许世',
        datetime: '1997-02-17 22:33:05',
        description: '以革法众领许世',
        user_id: 19,
        status: 1,
        type: 2,
      },
      {
        id: 99,
        avatar: 'http://dummyimage.com/100x100/e079f2',
        title: '流清我运起市还',
        datetime: '1998-01-21 12:52:22',
        description: '流清我运起市还',
        user_id: 6,
        status: 3,
        type: 3,
      },
      {
        id: 100,
        avatar: 'http://dummyimage.com/100x100/79f2bd',
        title: '自没根打花',
        datetime: '1993-09-29 02:15:39',
        description: '自没根打花',
        user_id: 7,
        status: 2,
        type: 2,
      },
    ]
  }
  const data = {
    total: 100,
    data: listDats,
    success: true,
  };
  return {
    params,
    data: data,
    code: 0,
    msg: '成功',
  };
};
